package org.shj.pattern.builder

class Director {
  
  def buildCellPhone(productLine : ProductLine) : Product = {
    productLine.installCore
    productLine.installGPS
    productLine.installBattery
    productLine.installShell
    
    productLine.getProduct
  }
}